export abstract class Hero {
    protected name: string;
    constructor(name: string) {
        this.name = name;
    }

    abstract action(): void;
}